namespace Asmex.FileViewer
{
    using System;
    using System.IO;

    public class MDGUID
    {
        private Guid _g;
        public static MDGUID Empty = new MDGUID();

        public MDGUID()
        {
            this._g = Guid.Empty;
        }

        public MDGUID(BinaryReader reader)
        {
            this._g = new Guid(reader.ReadBytes(0x10));
        }

        public Guid ToGuid()
        {
            return this._g;
        }

        public override string ToString()
        {
            return ("{" + this._g.ToString() + "}");
        }
    }
}
